{* Smarty *}
{*
 *  This file is part of Urd.
 *
 *  Urd is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 3 of the License, or
 *  (at your option) any later version.
 *  Urd is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program. See the file "COPYING". If it does not
 *  exist, see <http://www.gnu.org/licenses/>.
 *
 * $LastChangedDate: 2008-06-14 11:01:35 +0200 (Sat, 14 Jun 2008) $
 * $Rev: 1161 $
 * $Author: styck $
 * $Id: ajax_showtransfers.tpl 1161 2008-06-14 09:01:35Z styck $
 *}
{* Ajax page, doesn't need a head/foot tpl *}
<div id="hideoverlay">
<img src="{$IMGDIR}/icon_cancel.png" class="buttonlike" alt="Close" title="Close" onclick="javascript:thisdiv=document.getElementById('rsseditdiv'); ToggleClass(thisdiv, 'editrssoff'); ToggleClass(thisdiv,'editrsson');"/>
</div>

<h2>{if $id eq 'new'}{$LN_feeds_addfeed}{else}{$LN_feeds_editfeed}{/if}</h2>
<br/>
<input type="hidden" name="id" id="id" value="{$id}" />
<input type="hidden" name="challenge" id="challenge" value="{$challenge}"/>
<table class="renametransfer">
<tr><td>{$LN_feeds_name}:</td><td><input type="text" size="40" name="rss_name" id="rss_name" value="{$oldname}"/></td></tr>
<tr><td>{$LN_feeds_url}:</td><td><input type="text" size="40" name="rss_url" id="rss_url" value="{$oldurl|escape:htmlall}"/></td></tr>
<tr><td>{$LN_feeds_expire}:</td><td><input type="text" size="5" name="rss_expire" id="rss_expire" value="{$oldexpire}"/> {$LN_days}</td></tr>
<tr><td colspan="2">{$LN_incaseofauth}:</td></tr>
<tr><td>{$LN_username}:</td><td><input type="text" size="40" name="rss_username" id="rss_username" value="{$oldusername}"/></td></tr>
<tr><td>{$LN_password}:</td><td><input type="text" size="40" name="rss_password" id="rss_password" value="{$oldpassword}"/></td></tr>
<tr><td colspan="2">
<input type="checkbox" name="rss_subscribed" {if $oldsubscribed eq 1}checked="checked"{else}value="off"{/if} id="rss_subscribed" onclick="switch_value('rss_subscribed');"/>{$LN_feeds_active}
</td></tr>
<tr><td colspan="2">
	<input type="submit" onclick="update_rss();" {popup text=$LN_apply } alt="Submit" name="submit_button" value="{$LN_submit}" class="submit"/> 
</td></tr>
</table>
